#include "libDCM_defines.h"
#include "libDCM_internal.h"

// Vars
//union dcm_fbts_byte { struct dcm_flag_bits _ ; char B ; } dcm_flags ;

// Outside of libDCM, these should all be treated as read-only
fractional rmat[] ;
fractional omegaAccum[] ;
fractional omegagyro[] ;

struct relative3D GPSlocation ;
struct relative3D GPSvelocity ;
struct relative2D velocity_thru_air ; // derived horizontal velocity relative to air in cm/sec
int    estimatedWind[3] ;			// wind velocity vectors in cm / sec

union longww IMUlocationx , IMUlocationy , IMUlocationz ;
union longww IMUvelocityx , IMUvelocityy , IMUvelocityz ;


signed char calculated_heading ; // takes into account wind velocity
int gps_data_age ;

int velocity_magnitude ;
int air_speed_magnitude;

union longbbbb lat_gps , long_gps , alt_sl_gps ;
union longbbbb lat_origin , long_origin , alt_origin ;
